/**
 * package org.leumasjaffe.location
 */
package org.leumasjaffe.location;

/**
 * Class .Coord_2D in file Coord_2D.java <br>
 * 
 * @author leumasjaffe
 * Created on: Jan 22, 2013
 * 
 */
public abstract class Coord_2D extends Coord_1D implements Pos_2D {
	
	/**
	 * 
	 */
	protected int y;

	/**
	 * @param x
	 * @param y
	 */
	public Coord_2D(int x, int y) {
		super(x);
		this.y = y;
	}

	/*
	 * (non-Javadoc)
	 * @see tools.Position_2D#getY()
	 */
	@Override
	public int getY() {
		return this.y;
	}

	/* (non-Javadoc)
	 * @see location.Pos_2D#setY(int)
	 */
	@Override
	public void setY(int y) {
		this.y = y;
	}
}
